package com.jiexinyun.dto.request.androidworktask;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@Schema(description = "保存生产任务")
public class SaveWorkTaskReq {

    @NotNull(message = "人员ID不允许为空")
    @Schema(description = "人员ID", example = "269")
    private Integer ryId;

    @NotBlank(message = "码值不能为空")
    @Schema(description = "码值",example = "041212-01")
    private String code;

}
